﻿using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ccteg.Common
{
	/// <summary>
	///安全组织机构和责任
	/// </summary>
	public class org_org
	{
		/// <summary>
		///主键
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///机构编码
		/// </summary>
		public string OrgNo { get; set; }

		/// <summary>
		///机构名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		///排序号
		/// </summary>
		public int? NumOrder { get; set; }

		/// <summary>
		///负责人
		/// </summary>
		public string Header { get; set; }

		/// <summary>
		///电话
		/// </summary>
		public string Tel { get; set; }

		/// <summary>
		///职责
		/// </summary>
		public string Duty { get; set; }

		/// <summary>
		///状态
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///说明
		/// </summary>
		public string Remark { get; set; }

		/// <summary>
		///单位名称
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///单位编码
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

		/// <summary>
		///上级机构NO
		/// </summary>
		
		public string ParentOrgNo { get; set; }

	}
}